
/**************************/
/* Contenu global de page */
/**************************/

#content{
    width: 1000px;
    height: 610px;
    margin: auto;
    margin-top: 4%;
    background-image: url('../../assets/images/commun/commun_background3.jpg');
    background-repeat: no-repeat;
    display: none;
    padding-top:30px;
    position:relative;
    cursor: url(../../assets/images/commun/commun_mouse.png), auto;
}

#end_game{
    width: 236px;
    height: 200px;
    position: absolute;
    z-index: 100;
    top: 30%;
    left: 40%;
    display: none;
    
}


/**********************/
/* Zone d'interaction */
/**********************/

/* Zone centrale */

#cadre_zone_centrale{
    border: solid #FFFFFF 13px;
    width: 685px;
    height: 455px;
    margin-left: 42px;
    opacity : 0.8;
    -moz-box-shadow: 0px 6px 10px #444444;
    z-index: 2;
    position: absolute;

}


#fond_zone_centrale{
    background:#ffffff;
    width: 710px;
    height: 480px;
    margin-left: 42px;
    opacity : 0.8;
    z-index: 0;
    position: absolute;
}

/* Image à reproduire */
#img_to_reproduce{
    left: 10%;
    position: relative;
    top: 80px;
    z-index: 1;
}

#mr_pixou{
    height: 200px;
    width: 200px;
    background-color: #5a00ff;
    border: solid 4px #000000;
    border-radius: 10px;
}

#mme_pixou{
    height: 200px;
    width: 200px;
    background-color: #ff4d00;
    border: solid 4px #000000;
    border-radius: 50%;
}

#pixette{
    height: 50px;
    width: 150px;
    background-color: #ff00bf;
    border: solid 4px #000000;
    border-radius: 50%;
    position: relative;
    top: 73px;
    left: 20px;
}

#pixouf{
    height: 200px;
    width: 100px;
    background-color: #00ffea;
    border: solid 4px #000000;
    border-radius: 10px;
    position: relative;
    left: 20px;
}


/* Image en train d'être construite : Work In Progress */

#img_wip{
    width: 100px;
    height: 100px;
    left: 53%;
    position: absolute;
    top: 25%;
    z-index: 20;
    display: none;
}

.square_wip{
    border: solid 4px #000000;
    border-radius: 10px;
    background-color: #FFFFFF;
}

.circle_wip{
    border: solid 4px #000000;
    -moz-border-radius: 50%;
    background-color: #FFFFFF;
}


/* Bouton de validation de l'image construite */
#btn_check{
    position: absolute;
    top: 60%;
    left: 34%;
    z-index: 11;
    cursor: pointer;
}


/* Zone de liste d'items */

#cadre_liste_items{
    background-color: #FFFFFF;
    opacity: 0.5;
    height: 474px;
    width: 220px;
    position: absolute;
    top: 4.8%;
    left:75.3%;
    z-index: 2;
    border: solid 5px #444444;
    border-left: none;
    border-radius: 0 15px 15px 0;
    -moz-box-shadow: 2px 2px 20px #000000; 
}


/* Bouton de forme du carré */
#btn_square_form{
    cursor: pointer;
    border: solid 4px #000000;
    border-radius: 15%;
    width: 50px;
    height: 50px;
    position: absolute;
    top: 10%;
    left: 79%;
    background-color: #FFFFFF;
    z-index: 20;
}


/* Bouton de forme du cercle */
#btn_circle_form{
    cursor: pointer;
    -moz-border-radius: 50%;
    width: 50px;
    height: 50px;
    border: solid 4px #000000;
    left: 88%;
    position: absolute;
    top: 10%;
    background-color: #FFFFFF;
    z-index: 20;
}

/* Bouton de gestion de la taille de "img_wip" */
#btn_reduce_width{
    background-image:url('../../assets/images/game3/btn_moins.png');
    background-repeat:no-repeat;
    height:40px;
    width:42px;
    cursor: pointer;
    position: absolute;
    top: 30%;
    left: 78%;
    z-index: 20;
}


#btn_grow_width{
    background-image:url('../../assets/images/game3/btn_plus.png');
    background-repeat:no-repeat;
    height:40px;
    width:42px;
    cursor: pointer;
    position: absolute;
    top: 30%;
    left: 90%;
    z-index: 20;
}

#btn_reduce_height{
    background-image:url('../../assets/images/game3/btn_moins.png');
    background-repeat:no-repeat;
    height:40px;
    width:42px;
    cursor: pointer;
    position: absolute;
    top: 37%;
    left: 84%;
    z-index: 20;
}

#btn_grow_height{
     background-image:url('../../assets/images/game3/btn_plus.png');
    background-repeat:no-repeat;
    height:40px;
    width:42px;
    cursor: pointer;
    position: absolute;
    top: 23%;
    left: 84%;
    z-index: 20;
}


/* Gestion du cercle de couleurs */
#color_picker{
    left: 76.5%;
    position: absolute;
    top: 47%;
    z-index: 20;
}

#overlay_tmp{
    background-color:black;
    height: 101px;
    width:101px;
    position: absolute;
    top: 54.3%;
    left: 81.2%;
    z-index: 30;
    opacity:0;
        
    
}

form input{
    background-color: #FF0000;
    border: none;
    display: block;
    opacity: 1;
    position: absolute;
    z-index: 20;
    margin: 0;
}

.sl-marker{
    display: none;
}

.overlay{
    display: none;
    opacity: 0.8;
}

.color{
    display: none;    
}

#color{
    height: 108px;
    left: 53%;
    opacity: 1;
    position: absolute;
    top: 25%;
    width: 108px;
    z-index: 30;
    display: none;
}

#indicateur_couleur{
    background-color: #000000;
    height: 104px;
    width: 104px;
    position: absolute;
    top: 24%;
    left: 24%;

}


/**************/
/* Zone basse */
/**************/

/* Zone de navigation */

#zone_navigation{
    position: absolute;
    left: 8%;
    top:79.9%;
    z-index: 9;
}

#zone_navigation a{
    width: 70px;
    height: 70px;
    background-color: #FFFFFF;
    opacity: 0.7;
    display: inline-block;
    cursor: pointer;
}

#zone_navigation a .btns_navigation{
    opacity: 1;
    margin-left: 7px;
    margin-top: 10px;
}

#btn_replay{
    margin-left: 17px;
}


/* zone de chronométrage */

#zone_chrono{
    height: 60px;
    left: 35%;
    position: absolute;
    top: 86%;
    width: 570px;
    border-radius: 20px 20px 0 0;
}

#overlay_chrono{
    opacity: 0.4;
    width: 100%;
    height: 100%;
    position: relative;
    top: 0;
    left: 0;
    border-radius: 20px 20px 0 0;
    background-color: #FFFFFF;
    display: inline-block;
}


#zone_chrono #img_horloge{
    background-image: url('../../assets/images/commun/commun_horloge.png');
    height: 34px;
    width: 35px;
    z-index: 11;
    position: absolute;
    top: 14px;
    left: 25px;
    opacity: 1;
}

#timer{
    position: absolute;
    height: 40px;
    width: 450px;
    top: 16%;
    left: 14%;
    opacity: 1;
}

#timing{
    position: relative;
    height: 100%;
    width: 0;
    top: 0;
    left: 0;
    background-color: #00FF00;
}

/* Page de récompenses */

#zone_result{
    display: none;
    background-color: #FFFFFF;
    border: 5px solid #444444;
    height: 360px;
    margin-left: 7%;
    margin-top: 8%;
    width: 860px;
}

#zone_result #pixou{
    left: -3%;
    position: absolute;
    top: 2.5%;
}

#replay_final{
    cursor: pointer;
    left: 23%;
    position: absolute;
    top: 74.2%;
    background-color: #EEEEEE;
    opacity: 0.8;
    height: 63px;
    width: 61px;
}

#action_btn_replay{
    position: relative;
    top: 9px;
    left: 4px;
}


#homepage{
    cursor: pointer;
    left: 57%;
    position: absolute;
    top: 74.2%;
    background-color: #EEEEEE;
    opacity: 0.8;
    height: 80px;
    width: 82px;
}

#action_btn_homepage{
    position: relative;
    top: 11px;
    left: 9.5px;
}

#validate{
    cursor: pointer;
    left: 45%;
    position: absolute;
    top: 18%;
}

#zone_result #coupe{
    left: 10%;
    position: absolute;
    top: 37.5%;
}

#text_equal{
    font-size: 8em;
    font-weight: bold;
    left: 23%;
    position: absolute;
    top: 37%;
    color: #444444;
}

#zone_result #images{
    height: 150px;
    left: 57%;
    position: absolute;
    top: 37%;
    width: 340px;
}

#text_plus{
    font-size: 8em;
    font-weight: bold;
    left: 47.5%;
    position: absolute;
    top: 37%;
    color: #444444;
}

#pierre{
    height: 110px;
    left: 33.5%;
    position: absolute;
    top: 39%;
    width: 110px;
}

#controller_callback{
    width: 236px;
    height: 200px;
    position: absolute;
    z-index: 100;
    top: 30%;
    left: 40%;
    display: none;
}

#img_pixou_callback_ok{
    background-color: green;
    border: solid 2px #FFFFFF;
}

#img_pixou_callback_nok{
    background-color: red;
    border: solid 2px #000000;
}
